how to update state object with an array of strings as a value

join shbcf.ru